package org.dk.poitalk.dao;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface GenericDao<T, PK extends Serializable> {

	void save(T entityClass);

	T saveOrUpdate(T entityClass);

	int delete(T entityClass);

	T find(Class<T> entityClass, PK primaryKey);
	
	List<T> search (Map<String,String> mapValue);
}
